package com.dao;

import com.pojo.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentDao {
    int addStudent(Student student);

    int deleteStudentById(Long id);

    int updateStudent(Student student);

    Student queryById(Long id);

    List<Student> queryAllStudent();
}
